#define _CRT_SECURE_NO_WARNINGS 1

#include "LinkTable.h"

test1() {
	LinkNode* plist = NULL;
	LinkNodePushBack(&plist, 1);
	//LinkNodePushBack(&plist, 2);
	//LinkNodePushBack(&plist, 3);
	//LinkNodePushBack(&plist, 4);

	//LinkNodePushFront(&plist, 5);
	//LinkNodePushFront(&plist, 6);

	//LinkNodePopBack(&plist);
	//LinkNodePopBack(&plist);

	//LinkNodePopFront(&plist);
	//LinkNodePopFront(&plist);

	//LinkNodeInsert(&plist, 2, 9);
	//LinkNodeInsert(&plist, 1, 10);

	//LinkNodeErase(&plist, 1);

	//LinkNodeInsertAfter(&plist, 1, 9);

	//LinkNodeEraseAfter(&plist, 1);

	LinkNodePrint(plist);

	LinkDestroy(&plist);
}

int main() {
	test1();
	return 0;
}